package lab02.tset35;

public class SalesMan extends Employee {
    private double salary;

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public double getCommission() {
        return commission;
    }

    public void setCommission(double commission) {
        this.commission = commission;
    }

    private double commission;

    public double ComputeSalary(double a,double b) {
        return a+a*b;
    }
}

